package com.zk.iotgateway.domain.param;

import lombok.Data;

import java.io.Serializable;

/**
 *
 * rabbitMq配置实体类
 * @author:mn.m
 * @create 2019-04-28 下午 04:43
 **/
@Data
public class IotRabbitMqDO implements Serializable {
    private static final long serialVersionUID = -6964675052010877753L;
    /*
    * ip地址
    * */
    private String addresses;
    /*
    * 用户名
    * */
    private String username;
    /*
    * 密码
    * */
    private String password;
    /*
    * 发布确认
    * */
    private boolean publisherConfirms;
    /*
    * 端口号
    * */
    private int port;
    /*
    * 虚拟主机
    * */
    private String virtualHost;
    /*
     * 队列名称
     * */
    private String queueName;
    /*
    * 路由key
    * */
    private String routingKey;
    /*
    * 交换器名称
    * */
    private String exchange;

    /*
    * 交换器类型
    * DIRECT("direct"), FANOUT("fanout"), TOPIC("topic"), HEADERS("headers");
    * */
    private String exchangeType;

}
